
Pod::Spec.new do |s|
  s.name             = 'VinkaBleSDK'
  s.version          = '1.0.3'
  s.summary          = 'A short description of VinkaBleSDK.'

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/giteecjw0124/vinkablesdk'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'giteecjw0124' => 'chenjingwei0124@foxmail.com' }
  s.source           = { :git => 'https://gitee.com/giteecjw0124/vinkablesdk.git', :tag => s.version.to_s }

  s.ios.deployment_target = '13.0'
  s.swift_version = '5.0'
  s.frameworks = 'UIKit', 'Foundation', 'CoreBluetooth'
  
  s.vendored_frameworks = 'SDK/VinkaBtSdk.xcframework'
  public_header_files = 'SDK/VinkaBtSdk.xcframework/ios-arm64/VinkaBtSdk.framework/Headers/*.{h,m}'

  s.pod_target_xcconfig = { 'VALID_ARCHS' => 'arm64' }
  
  s.subspec 'Headers' do |s|
    s.source_files           = public_header_files
    s.public_header_files    = public_header_files
  end
  
end
